<header id="header">
    <div class="wrapper">
        <div class="logo"><a href="/"><img src="<?php echo HResponse::touri($siteCfg['image_path']); ?>" alt="" /></a></div>
        <div class="wpa_compleftser">
            <form action="<?php echo HResponse::url('goods/search'); ?>" class="form">
                <div class="wpa_searchbox">
                    <input type="text" id="home-searchInput" name="keyword" value="" class="wpa-input">
                    <input type="submit" class="wpa_submit" value="SEARCH" />
                </div>
            </form>
        </div>
        <div class="topSpain">
            <a href="#">SPAIN</a>
        </div>
        <div class="topNavtag">
            <a href="<?php echo HResponse::url('goods/collect'); ?>">0</a>
        </div>
        <div class="clear"></div>
        <div class="topNav">
            <div class="topNavList">
            	<a href="/">HOME</a>
                <?php $articleCatList = HResponse::getAttribute('articleCatList'); ?>
                <?php foreach($articleCatList as $item) { ?>
                <?php if(($item['id']==734)){ ?>
                <?php } else if(($item['id']==477)){ ?>
                <a href="<?php echo HResponse::url($item['identifier']); ?>" class="top_nav_a"><?php echo $item['description']; ?></a>
                <?php } else { ?>
                <a href="<?php echo HResponse::url($item['identifier']); ?>"><?php echo $item['description']; ?></a>
                <?php } ?>
                <?php } ?>
            </div>
        </div>
        <div class="clear"></div>
        <div class="subNavWrapper">
            <div class="subNavSet">
                <?php foreach ($clist as $key => $ss) { ?>
                <div class="subNav sub<?php echo $key;?>">
                    <ul>
                        <?php foreach($ss['slist'] as $val) { ?>
                        <li>
                            <a href="<?php echo HResponse::url('goods', 'parent_id=' . $val['id']); ?>"><?php echo $val['name']; ?></a>
                        </li>
                        <?php } ?>
                    </ul>
                </div>
                <?php } ?>
            </div>
        </div>
    </div>
    <script>
        $(".topNavtag a").html(car.length);
    </script>
</header>

